/**
 * 服务配置格式
 * elample:
 * {
 *  service:{服务名称}
 *  controller:{controller名称}
 *  action:{action名称}-可选
 *  url:{自定义地址}-可选(填写url时将不会读取service,controll,action)
 *  type:'RTYPE.(GET|PUT|POST|DELETE)'
 * }
 */
import { RTYPE } from '@/util/common'

export default {
  // 获取催收员业绩统计
  get_case_info: {
    service: 'report-service',
    controller: 'CupoUserPerformanceController',
    action: 'getCaseInfo',
    type: RTYPE.GET
  },
  // 获取催收员进展统计
  get_cupo_progress: {
    service: 'report-service',
    controller: 'cupoProgressController',
    action: 'getCupoProgress',
    type: RTYPE.GET
  },
  // 获取催收员回款实时报表
  get_realtime_back_money_report: {
    service: 'report-service',
    controller: 'reportController',
    action: 'getRealtimeBackMoneyReport',
    type: RTYPE.GET
  },
  // 获取催收员回款周报表，月报表
  get_back_money_report: {
    service: 'report-service',
    controller: 'reportController',
    action: 'getBackMoneyReport',
    type: RTYPE.GET
  },
  // 导出周报表，月报表
  export_report: {
    service: 'report-service',
    controller: 'reportController',
    action: 'exportReport',
    type: RTYPE.GET
  },
  // 导出进展报表
  export_cupo_progress: {
    service: 'report-service',
    controller: 'cupoProgressController',
    action: 'exportCupoProgress',
    type: RTYPE.GET
  },
  // 获取在线离线人数
  get_online_users: {
    service: 'reminder-service',
    controller: 'onlineUserController',
    action: 'getOnlineUsers',
    type: RTYPE.GET
  },
  // 导出业绩报表
  export_case_info_report: {
    service: 'report-service',
    controller: 'CupoUserPerformanceController',
    action: 'exportCaseInfoReport',
    type: RTYPE.GET
  }
}
